package university;

/**
 * Created by anatolii.bondarenko on 2/12/14.
 */
abstract class AuditoriumClass {
    private Discipline discipline;
    private Group group;
    private LessonEvent timeAndPlace;

    public AuditoriumClass(Discipline d, Group g, LessonEvent ev){
        discipline = d;
        group = g;
        timeAndPlace = ev;
    }

    public Discipline getDiscipline(){
        return discipline;
    }

    public Group getGroup(){
        return group;
    }

    public LessonEvent getTimeAndPlace(){
        return timeAndPlace;
    }

    public abstract String toString();
}
